﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Code.BLL;

namespace System.Web.Mvc
{
    public class TreeViewEntity
    {
        public TreeViewEntity()
        {
            NodeList = new List<TreeViewEntity>();
            Attributes = new Dictionary<string, string>();
        }
        /// <summary>
        /// 节点的ID
        /// </summary>
        public string NodeID { get; set; }
        /// <summary>
        /// 节点的名称
        /// </summary>
        public string NodeName { get; set; }
        /// <summary>
        /// 节点的值
        /// </summary>
        public string NodeVlue { get; set; }
        /// <summary>
        /// 节点的文本
        /// </summary>
        public string NodeHtml { get; set; }
        /// <summary>
        /// 节点的子集
        /// </summary>
        public List<TreeViewEntity> NodeList { get; set; }
        /// <summary>
        /// 节点的属性
        /// </summary>
        public Dictionary<string, string> Attributes { get; set; }
    }
}